package cc.dong.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author xiaoDong
 * @version 1.0.0
 * @ClassName Employee.java
 * @Description 员工类
 * @createTime 2024年05月30日 08:46:00
 */
public class Employee implements Serializable {

    private static final long serialVersionUID = 7328641123763412722L;
    /**
     * 编号
     */
    private Integer id;
    /**
     * 工号
     */
    private String employeeNo;
    /**
     * 密码
     */
    private String password;
    /**
     * 姓名
     */
    private String name;
    /**
     * 头像
     */
    private String imgPath;
    /**
     * 性别
     */
    private String sex;
    /**
     * 生日
     */
    private Date birthday;
    /**
     * 部门Id
     */
    private Integer depId;
    /**
     * 职位Id
     */
    private Integer positionId;
    /**
     * 电话
     */
    private String phone;
    /**
     * 入职时间
     */
    private Date entryDate;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 是否离职 0：离职  1：在职
     */
    private int dimission;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmployeeNo() {
        return employeeNo;
    }

    public void setEmployeeNo(String employeeNo) {
        this.employeeNo = employeeNo;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getDepId() {
        return depId;
    }

    public void setDepId(Integer depId) {
        this.depId = depId;
    }

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getEntryDate() {
        return entryDate;
    }

    public void setEntryDate(Date entryDate) {
        this.entryDate = entryDate;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getDimission() {
        return dimission;
    }

    public void setDimission(int dimission) {
        this.dimission = dimission;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", employeeNo='" + employeeNo + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", imgPath='" + imgPath + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday=" + birthday +
                ", depId=" + depId +
                ", positionId=" + positionId +
                ", phone='" + phone + '\'' +
                ", entryDate=" + entryDate +
                ", email='" + email + '\'' +
                ", dimission=" + dimission +
                '}';
    }
}
